<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- /* ::meta, ::title, ::link, ::style, ::script */ -->
<head th:replace="fragment :: common_head(~{::meta},~{::title},~{},~{},~{})">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
</head>
<body>
<!-- fragment 是 thymeleaf 视图解析器识别的视图名 -->
<header id="header" th:replace="fragment :: header"></header>

<div id="content">
    <h2>首页</h2>
    <p th:text="|Author: ${author}|"></p>
    <p th:utext="#{index.welcome(${date})}">Welcome message</p>
    <!--/*@thymesVar id="date" type="java.util.Date"*/-->
    time:<span th:text="${date}"></span><br>
    time:<span th:text="${{date}}"></span><br>
    <!-- 时间格式化 -->
    time:<span th:text="${#dates.format(date, 'yyyy-MM-dd HH:mm:ss')}"></span><br>
    country: <span th:text="${#locale.country}"></span>
    <br>
    <h2>数据服务 demo</h2>
    <p><a href="" th:href="@{/dataService/showAllHzQyhznrFrom}">显示所有 源数据库.hz_qyhznr</a></p>
</div>

<footer id="footer" th:replace="fragment :: footer"></footer>

</body>
</html>
			